package com.allwees.bs.module.core.dynamic.annotation;


import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface DynamicInject {

    String target() default "";

    String key() default "";

    Type type() default Type.OrderItemSnap;

    enum Type {
        OrderItemSnap,
        Store,
        Retailer,
        Logistics,
        ShippingAddress,
        User,
        Category
    }
}
